projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
af0e2e5
)
Eglot-workspace-configuration's keys needn't be keywords
author
João Távora
<joaotavora@gmail.com>
Mon, 6 Aug 2018 00:10:12 +0000
(
01:10
+0100)
committer
João Távora
<joaotavora@gmail.com>
Mon, 6 Aug 2018 00:10:12 +0000
(
01:10
+0100)
* eglot.el (eglot-signal-didChangeConfiguration): Convert
alist keys into a json-compatible plist.
GitHub-reference: per https://github.com/joaotavora/eglot/issues/59
lisp/progmodes/eglot.el
patch
|
blob
|
history
diff --git
a/lisp/progmodes/eglot.el
b/lisp/progmodes/eglot.el
index 7e825d6746a763647b1df3fe3f0371dcde66b5b8..c3a0d518d855d8f42c84ca871b74b608358715dd 100644
(file)
--- a/
lisp/progmodes/eglot.el
+++ b/
lisp/progmodes/eglot.el
@@
-1062,7
+1062,10
@@
When called interactively, use the currently active server"
(list
:settings
(cl-loop for (k . v) in eglot-workspace-configuration
- collect k collect v))))
+ collect (if (keywordp k)
+ k
+ (intern (format ":%s" k)))
+ collect v))))
(defun eglot--signal-textDocument/didChange ()
"Send textDocument/didChange to server."